Skip to content

chore: fix JavaScript lint errors (issue #8294)#9791

Closed
SuYaSh-PaThAk04 wants to merge 26 commits intostdlib-js:developfrom
SuYaSh-PaThAk04:chore/fix-js-lint-8294-cl
Closed

chore: fix JavaScript lint errors (issue #8294)#9791
SuYaSh-PaThAk04 wants to merge 26 commits intostdlib-js:developfrom
SuYaSh-PaThAk04:chore/fix-js-lint-8294-cl

Conversation

@SuYaSh-PaThAk04
Copy link
Contributor

Resolves #8294 .

Description

What is the purpose of this pull request?

This pull request:

  • Fixes ESLint vars-order and no-unused-vars issues.
  • Updates JSDoc to avoid doctest execution requiring pandoc.
  • Restores intentional new Array(...) usage in benchmarks with explicit lint disables to preserve benchmark semantics.

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance. This helps reviewers determine how much scrutiny to apply when reviewing your contribution. Example disclosures: "This PR was written primarily by Claude Code." or "I consulted ChatGPT to understand the codebase, but the proposed changes were fully authored manually by myself.".

{{TODO: add disclosure if applicable}}


@stdlib-js/reviewers

Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
Added a self-import to satisfy linting rules.

Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
Fix echo command in eslint-files target for linting.

Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
@stdlib-bot stdlib-bot added Needs Review A pull request which needs code review. Good First PR A pull request resolving a Good First Issue. labels Jan 16, 2026
Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
@stdlib-bot stdlib-bot added the Potential Duplicate There might be another pull request resolving the same issue. label Jan 17, 2026
Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
Signed-off-by: Suyash Pathak <suyashp271@gmail.com>
@kgryte
Copy link
Member

kgryte commented Jan 26, 2026

Ref: #9560

@kgryte kgryte added autoclose: Already Resolved Pull request which should be auto-closed due proposed changes duplicating already included changes. and removed Needs Review A pull request which needs code review. labels Jan 26, 2026
@stdlib-bot
Copy link
Contributor

Thank you for working on this pull request. However, we cannot accept your contribution as the issue this pull request seeks to resolve has already been addressed in a different pull request or commit.

Thank you again for your interest in stdlib, and we look forward to reviewing your future contributions.

@stdlib-bot stdlib-bot closed this Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autoclose: Already Resolved Pull request which should be auto-closed due proposed changes duplicating already included changes. Good First PR A pull request resolving a Good First Issue. Potential Duplicate There might be another pull request resolving the same issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix JavaScript lint errors

3 participants